import { getAction, deleteAction, putAction, postAction, httpAction } from '@/api/manage'

// 餐厅审核
export const auditRestaurant = params => postAction('/restaurant/audit', params)

// 餐厅编辑
export const editRestaurant = params => postAction('/restaurant/edit', params)

export const detailRestaurant = params => getAction('/restaurant/detail', params)

export const delRestaurant = params => deleteAction('/restaurant/delete', params)